package com.aliang.shopping.mapper;

import com.aliang.shopping.model.dto.goods.GoodsPageDto;
import com.aliang.shopping.model.po.Goods;
import com.aliang.shopping.model.vo.CommonUserInfoVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author ShiBaLover
* @description 针对表【goods】的数据库操作Mapper
* @createDate 2024-11-23 18:37:59
* @Entity com.aliang.shopping.model.po.Goods
*/
public interface GoodsMapper extends BaseMapper<Goods> {

    IPage<Goods> getPage(IPage<Goods> page, @Param("do") GoodsPageDto pageDTO);

    CommonUserInfoVO getBusinessInfoById(@Param("goodsId") Long goodsId);

    List<Long> getIds();
}




